import React, { ButtonHTMLAttributes, PropsWithChildren } from "react";
import styled from 'styled-components'
const MyButton = styled.button({
	color:'red'
})
interface ButtonProps extends ButtonHTMLAttributes<HTMLButtonElement> {}
function Button(props: PropsWithChildren<ButtonProps>) {
	const { children, ...rest } = props;
	return <MyButton {...rest}>{children}</MyButton>;
}
export default Button;